import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 日报查询车型 DLR

// 列表查询 /ttVsDaily/pageModel
export const queryList = (params) => axios.post(`${SERVER.RETAIL}/ttVsDaily/pageModel`, params)

// 查询车型 /ttVsDaily/getModelAndManager
export const queryModel = (params) => axios.get(`${SERVER.RETAIL}/ttVsDaily/getModelAndManager`, {
  params
})

// 导出车型查询 /ttVsDaily/excelModel
export const exportExcel = (params) => axios.post(`${SERVER.RETAIL}/ttVsDaily/excelModel`, params, {
  responseType: 'blob'
})

// / 导出
export const exporturl = params => axios.post(`/api/cmscloud.excel/downloadExcel/exportExcel/${params.CODE}`, params);
